package com.telit.firecommand.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * websocket_push_msg_log
 * @author 
 */
@ApiModel(value="com.telit.entity.WebsocketPushMsgLogwebsocket消息推送日志记录表")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WebsocketPushMsgLog implements Serializable {
    /**
     * 主键
     */
    @ApiModelProperty(value="主键")
    private Long id;

    /**
     * 事件类型 0事件 1火情
     */
    @ApiModelProperty(value="事件类型 0事件 1火情 2火情核实")
    private Integer eventType;

    /**
     * 事件或火情id
     */
    @ApiModelProperty(value="事件或火情id")
    private Long eventId;

    /**
     * 用户id
     */
    @ApiModelProperty(value="用户id")
    private Long userId;

    private static final long serialVersionUID = 1L;
}